RTX On

Wanna make some neat raytraced plots and maps in R?

Lets get started with the rayrender and rayshader packages developed by Tyler Morgan Wall. Check out his blog for some great R tips like how to write efficient loops in R here.

Lets get started

As a first attempt, lets use one of rayshader’s built-in textures, desert.

And there you have it, eautifully rendered 3D maps!

This also works with ggplot!

Many of these examples can be found on r/dataisbeautiful